﻿//------------------------------------------------------------------------------
// System Name:   Customer Service Platform
// Component:     Page Save Helper
// Created By:    tingrong Shi
// Created Date:  2011-3-30
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASBCC.Business
{
    public static class PageSafeHelper
    {
        public static string SafeText(string input)
        {
            if (input == null)
                return null;
            input = input.Replace("-", "");
            input = input.Replace("%", "");
            input = input.Replace("*", "");
            input = input.Replace("'", "");
            input = input.Replace("\"", "");
            input = input.Replace("&", "");
            input = input.Replace("(", "");
            input = input.Replace(")", "");
            input = input.Replace("<", "");
            input = input.Replace(">", "");
            input = input.Replace("\\", "");
            return input;
        }
    }
}
